package com.runjian.rundo.iot.agent.business.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

import lombok.Getter;
import lombok.Setter;

/**
 * 业务常量
 *
 * @author CaoQingHua
 */
@Configuration
@Getter
@Setter
public class BaseConfigurationProperties {

    /**
     * 数据上报的Topi
     */
    @Value("${spring.kafka.topics.measurementsUp}")
    private String measurementsUpTopic;

    /**
     * 虚拟电厂总指令数据上报的Topi
     */
    @Value("${spring.kafka.topics.controlUp}")
    private String controlUpTopic;
}
